package com.miaoshare.app.net;

import com.miaoshare.app.mvp.model.UserInfoEntity;

import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.Streaming;
import retrofit2.http.Url;
import io.reactivex.Observable;


public interface ApiService {

    //获取用户信息
    @GET("users/{userName}")
    Observable<UserInfoEntity> getUserInfo(@Path("userName") String userName);

//    //获取用户仓库
//    @GET("users/{userName}/repos")
//    Observable<List<ReposEntity>> getMyRepos(@Path("userName") String userName, @Query("per_page") int per_page, @Query("page") long page);
//


}
